﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pnlReunionPartSocial.aspx.cs" Inherits="EGuayas.Web.Licenciamiento.admin.pnlReunionPartSocial" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <ext:ResourceManager ID="ResourceManager1" runat="server"></ext:ResourceManager>
     <ext:FormPanel ID="frmReunionCoordSocial" 
            runat="server"
            Border="false"
            AutoDoLayout="true"
            BodyPadding="10">
            
            <LayoutConfig>
                <ext:VBoxLayoutConfig Align="Stretch" />
            </LayoutConfig>

            <FieldDefaults 
                LabelAlign="Top"
                LabelWidth="100"
                LabelStyle="font-weight:bold;" />

            <Items>
               
                <ext:DateField 
                    ID="DateField1" 
                    runat="server"
                    Name ="Fecha"
                    FieldLabel="Fecha"
                            AllowBlank="false"
                            Margins="0 0 0 5"
                   >  
                    <AfterLabelTextTpl>
                                <Html>
                                    <span style="color:red;font-weight:bold" data-qtip="Required">*</span>
                                </Html>
                            </AfterLabelTextTpl> 
                </ext:DateField>
                <ext:TextField ID="TextField4" 
                    runat="server"
                    Name = "Email"
                    FieldLabel="Email"
                    Vtype="email"
                    AllowBlank="false">
                    <AfterLabelTextTpl>
                        <Html>
                            <span style="color:red;font-weight:bold" data-qtip="Required">*</span>
                        </Html>
                    </AfterLabelTextTpl>
                </ext:TextField>

                <ext:TextField ID="TextField5" 
                    runat="server"
                    Name="Tema"
                    FieldLabel="Tema"
                    AllowBlank="false">
                    <AfterLabelTextTpl>
                        <Html>
                            <span style="color:red;font-weight:bold" data-qtip="Required">*</span>
                        </Html>
                    </AfterLabelTextTpl>
                </ext:TextField>

                <ext:TextArea ID="TextArea1" 
                    runat="server"
                    Name="Mensaje"   
                    FieldLabel="Mensaje"
                    LabelAlign="Top"
                    Flex="1"
                    Margins="0"
                    AllowBlank="false">
                    <AfterLabelTextTpl>
                        <Html>
                            <span style="color:red;font-weight:bold" data-qtip="Required">*</span>
                        </Html>
                    </AfterLabelTextTpl>
                </ext:TextArea>
            </Items>

            <Buttons>
                <ext:Button ID="Button1" 
                    runat="server"
                    Text="Aceptar">
                    <DirectEvents>
                                <Click                                    
                                    OnEvent="ModificarClick"
                                    Before="return sendForm;">
                                   <ExtraParams>
                                       <ext:Parameter Name="prmValues" Value="Ext.encode(this.up('form').getForm().getValues())"   Mode="Raw" /> 
                                                                      
                                    </ExtraParams>		
                                    <EventMask ShowMask="True"></EventMask>	
                                </Click>
                            </DirectEvents>
                </ext:Button>

                <ext:Button ID="Button2" 
                    runat="server"
                    Text="Cancelar"
                   />
            </Buttons>

            <HtmlBin>
                <script>
                    function sendForm() {
                        if (this.up('form').getForm().isValid()) {
                            /* In a real application, this would submit the form to the configured url */
                            /* this.up('form').getForm().submit(); */
                            //this.up('form').getForm().reset();
                            return true;
                            
                        }
                        return false;
                    }
                </script>
            </HtmlBin>
        </ext:FormPanel>
</body>
</html>
